Ví dụ Apache Maven

Một project Maven được cấu hình sử dụng Project Object Model, nó được lưu trong file pom.xml. Một ví dụ nhỏ:

<project>  <!-- model version is always 4.0.0 for Maven 2.x POMs -->  <modelVersion>4.0.0</modelVersion>    <!-- project coordinates, i.e. a group of values which       uniquely identify this project -->    <groupId>com.mycompany.app</groupId>  <artifactId>my-app</artifactId>  <version>1.0</version>  <!-- library dependencies -->    <dependencies>    <dependency>          <!-- coordinates of the required library -->            <groupId>junit</groupId>      <artifactId>junit</artifactId>      <version>3.8.1</version>            <!-- this dependency is only used for running and compiling tests -->            <scope>test</scope>          </dependency>  </dependencies></project>

Tài liệu tham khảo

WikiPedia: Apache Maven http://www.javaworld.com/javaworld/jw-05-2006/jw-0... http://www.mavenbrowser.com/pom-report.html http://books.sonatype.com/maven-book/reference/pub... http://www.sonatype.com/documentation/books http://www.sonatype.com/people/2010/10/maven-3-0-h... http://www.sonatype.com/products/maven/documentati... http://today.java.net/pub/a/today/2007/03/01/build... http://doodleproject.sourceforge.net/mavenite/dotn... http://maven.apache.org/ http://maven.apache.org